Inside Macintosh: Files

Previous | Chapter Top | Chapter Contents | Next

Standard File Package Routines

This section describes the routines you can use to prompt the user for a file's name and location after a request to save or open a file. If your application is designed to run in system software versions prior to version 7.0, you must use either SFGetFile or SFPGetFile when opening a file and either SFPutFile or SFPPutFile when saving a file.

If your application is designed to take advantage of features introduced in system software version 7.0 or later, you can use the new routines intended to simplify the code required to elicit a filename from the user. The StandardPutFile and StandardGetFile procedures are simplified versions of the original procedures for handling the user interface during the storing and retrieving of files. The CustomPutFile and CustomGetFile procedures are customizable versions of the same procedures.


© 1997 Apple Computer, Inc.

Previous | Chapter Top | Chapter Contents | Next